

package cn.shengchao.examstar.me.collect.acl.ports.repositories;

import cn.shengchao.examstar.me.collect.domain.CourseCollect;
import cn.shengchao.examstar.me.collect.domain.TeacherCollect;

import java.util.List;

public interface ICollectRepository {
    /**
     * 添加课程收藏
     */
    void saveCourseCollect(CourseCollect collect);

    void cancelCollect(Long userId, Long courseId);

    List<CourseCollect> getCollect(Long userId);

    void collectTeacher(TeacherCollect collect);

    void cancelCollectTeacher(Long userId, Long teacherId);
}
